const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const HistorySchema = new Schema({
    userid: {
        type: String,
        required:true
    },
    bookid: {
        type: String,
        required: true
    },
    date: {
        type: Date,
    },
})




module.exports = Histories = mongoose.model("histories", HistorySchema);